<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>


 <!-- Start of main content -->
<div id="content">
  <div id="main-wrapper">
  
   <html:form method="post" action="/frontoffice/search_user.do" styleId="searchform">
	      <fieldset>
	        <label for="search-field">
	           <bean:message key="showuserlist.search"/>
	        </label>
	        <html:text property="user" styleId="search-field" styleClass="textfield" value=""></html:text>
	        <html:submit styleClass="img-btn"></html:submit>	        
	        </fieldset>
	    </html:form>
  
 	<div id="search-result">
    <c:forEach var = "listElement" items = "${requestScope.listUser}">       
                                   
           <div class="user">
		        <img src="<c:url value="/img/defavatar.jpg"/>" alt="#" height="38" width="38">
		        <h4>Username</h4>*
		        <p>
		          <c:out value="${listElement.username}"></c:out>
		        </p>
		        <p>
		          <bean:message key="showuserlist.see"/>
		          <a href="<c:url value="/gift/wish_list.do?id=${listElement.idUser}"/>">wishlist</a>
		          | <bean:message key="showuserlist.see"/> 
		          <a href="<c:url value="/frontoffice/view_profile.do?id=${listElement.idUser}"/>"><bean:message key="showuserlist.profile"/></a>
		        </p>
      		</div>             
                                         
    </c:forEach>
    </div>  
    <div class="clearall">
    </div>
  </div>
</div>
<!-- Closes #content -->